<h1> Overview </h1>
<% @hosts.each do |host| %>
  <h2><%= link_to host.name, edit_host_path(host) %></h2>
  <h2> Torrents </h2>
  <%= render :partial => "hosts/torrents_table", :locals => {host: host} %>

  <h2> Custom OIDs</h2>
  <% host.oids.each do |oid| %>
    <% if oid.active? %>
      <div>
        <%= image_tag oid.get_graph, :alt => "No graph found for #{oid.name}" %>
      </div>
    <% end %>
  <% end %>
<% end %>
